<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精灵图</title>
</head>
<style>
    .sprintes{
        width: 60px;
        height: 60px;
        margin: 100px auto;
        background: url(images/sprites.png) no-repeat -182px 0;
        /* background-position:-182px 0 ; */
    }
    .box{
        width: 27px;
        height: 25px;
        margin: 200px;
        background: url(images/sprites.png) no-repeat -155px -106px;
    }
</style>
<body>
   <div class="sprintes"></div>
   <div class="box"></div> 
</body>
</html>